import React, { Component } from "react";
import qs from "query-string";
export default class Z1 extends Component {
  render() {
    console.log(qs.parse(this.props.location.search).color);
    return (
      <div>
        Z1:
        {/* {this.props.location.state.color} */}
        {qs.parse(this.props.location.search).color}
      </div>
    );
  }
}
